package com.example.user.myhjjf_app.presenter;

import com.example.user.myhjjf_app.R;
import com.zhy.adapter.abslistview.ViewHolder;
import com.zhy.adapter.abslistview.base.ItemViewDelegate;

/**
 * Created by User on 2017/9/4.
 */

public class Presenter_Glitem_adapter implements ItemViewDelegate<String> {
    @Override
    public int getItemViewLayoutId() {
        return R.layout.acticity_gladd_spinner_item;
    }

    @Override
    public boolean isForViewType(String item, int position) {
        return true;
    }

    @Override
    public void convert(ViewHolder holder, String s, int position) {
        holder.setText(R.id.text1,s);
    }

}
